﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCity.aspx.cs" Inherits="DLV.BackEnd.Pages.EditCity" %>

<%@ Register TagPrefix="uc1" TagName="TinyMCE" Src="~/Controls/TinyMCE.ascx" %>
<asp:content id="Content1" contentplaceholderid="placeHolderContent" runat="server">
    <div id="toolbar-box">
		<div class="t">
			<div class="t">
				<div class="t"></div>
			</div>
		</div>
		<div class="m">
		    <div id="toolbar" class="toolbar">
			    <table class="toolbar">
			        <tbody>
					    <tr>
						    <td id="toolbar-save" class="button">
						        <asp:LinkButton ID="lbtSave" runat="server" Text="" onclick="lbtSave_Click" CssClass="toolbar">
					                <span id="Span1" title="Save" class="icon-32-save" runat="server"></span>Lưu
					            </asp:LinkButton>
						    </td>
						    <td id="toolbar-cancel" class="button">
						        <asp:LinkButton ID="lbtClose" runat="server" Text="" onclick="lbtClose_Click" 
                                    CssClass="toolbar" CausesValidation="False">
					                <span id="Span2" title="Close" class="icon-32-cancel" runat="server"></span>Thoát
					            </asp:LinkButton>
						    </td>
					    </tr>
				    </tbody>
			    </table>
		    </div>
			<div class="header">Thêm mới/chỉnh sửa thông tin tỉnh/thành phố</div>
			<div class="clr"></div>
		</div>
		<div class="b">
			<div class="b">
				<div class="b"></div>
			</div>
		</div>
	</div>
	<div id="element-box">
		<div class="t">
			<div class="t">
				<div class="t"></div>
			</div>
		</div>
		<div class="m" style="float:left; width:100%">
			<div class="admin-left">
                <table class="adminform">
                    <tr>
						<td colspan="2">
                            <div id="ErorMessage" style="color: Red;line-height: 150%;"></div>
                        </td>
					</tr>
                    <tr>
                        <td style="width: 20%;">Quốc gia: </td>
                        <td><asp:DropDownList id="ddlNation" runat="server" Width="413px"></asp:DropDownList></td>
                    </tr>
                     <tr>
                        <td>Tỉnh/thành phố:</td>
                        <td>
                            <asp:TextBox ID="txtCityName" runat="server" Width="400"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>Ảnh đại diện:</td>
                        <td>                           
                            <span id="btnUploadSingle" class="upload-images button-gray">Tải hình ảnh lên</span>
                            <input type="file" id="fileUploadSingle" style="display: none;" class="hide" />
						</td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div class="af-progress"><div class="af-progress-bar"></div></div>
						    <div class="upload-result">
						        <%=ThumbnailPreview %>
						    </div>
                            <input type="hidden" value="" class="thumbnailAvatar" name="thumbnailAvatar" id="thumbnailAvatar" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>Mô tả ngắn</td>
                        <td>
                            <asp:TextBox ID="txtSortDescription" TextMode="MultiLine" runat="server" Width="400px" Height="100px"></asp:TextBox>
                        </td>
                    </tr>
                    </table>
                </div>
                    <div class="admin-right">
                <table>
                    <tr>
                        <td colspan="2">
                            Mô tả:
                        </td>
                    </tr>
                 <tr>
                        <td colspan="2">
                            <uc1:TinyMCE runat="server" ID="txtContent" />
                        </td>
                    </tr>
                 </table>
            </div>
            <div class="clr"></div>
		</div>
		<div class="b">
			<div class="b">
				<div class="b"></div>
			</div>
		</div>
	</div>
   </asp:content>
